//
//  OCRViewController.swift
//  联付商圈
//
//  Created by zhangqi on 2017/7/24.
//  Copyright © 2017年 lianfu. All rights reserved.
//

import UIKit

class OCRViewController: BaseViewController {//, CardIOPaymentViewControllerDelegate

    @IBOutlet weak var resultLabel: UILabel!
    override func viewDidLoad() {
        super.viewDidLoad()
        //CardIOUtilities.preload()
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
    
    @IBAction func scanCard(_ sender: AnyObject) {
//        let cardIOVC = CardIOPaymentViewController(paymentDelegate: self)
//        cardIOVC?.modalPresentationStyle = .formSheet
//        present(cardIOVC!, animated: true, completion: nil)
    }
    
   
    
//    func userDidCancel(_ paymentViewController: CardIOPaymentViewController!) {
//        paymentViewController?.dismiss(animated: true, completion: nil)
//    }
    
//    func userDidProvide(_ cardInfo: CardIOCreditCardInfo!, in paymentViewController: CardIOPaymentViewController!) {
//        if let info = cardInfo {
//            let str = "Received card info." + "CardNumber:" + String(info.cardNumber) + "Month:" + String(info.expiryMonth) + "/" + String(info.expiryYear) + "cvv:" + String(info.cvv)
//            resultLabel.text = str
//        }
//        
//        //paymentViewController?.present(BangDingBankCardViewController(), animated: true, completion: nil)
//    }  

}
